package com.zhkj.txg.module.login.entity

import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class LoginResponse(
    val data: LoginEntity
) : BaseResponse()

data class LoginEntity(
    @SerializedName("is_member")
    val isMember: Boolean = false,
    val isNew: Boolean,
    @SerializedName("novice_welfare")
    val noviceWelfare: String = "",
    @SerializedName("userinfo")
    val userInfo: UserInfoEntity
)

data class UserInfoEntity(
    val id: Int,
    var nickname: String = "",
    val mobile: String = "",
    var avatar: String = "",
    val gender: String? = null,
    val birthday: String? = null,
    var money: String = "",
    val area: String? = null,
    val token: String,
    @SerializedName("chat_id")
    val chatId: String? = null,
    val user_id: Int,
    @SerializedName("valid_time_text")
    val vipValid: String? = null,
    @SerializedName("createtime")
    val createTime: Int,
    @SerializedName("expiretime")
    val expireTime: Int,
    @SerializedName("expires_in")
    val expiresIn: Int
)